- 
		Home
	
 
	- 
WordPress.com Editing Toolkit
 
- 
3.64046
 
- 
Code
 
- 
Classes
 
-  WP_Template_Inserter 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											35 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											3 | 
										
																	
							 
													
								
																			
											| Total lines | 
											506 | 
										
																			
											| Lines of code | 
											324 | 
										
																			
											| Logical lines of code | 
											85 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											121 | 
										
																			
											| Methods | 
											11 | 
										
																			
											| Properties | 
											7 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 11
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| insert_default_template_data() | 
									A  | 
																	40 | 
													8 | 
													73 | 
							
					
				| insert_default_pages() | 
									A  | 
																	40 | 
													7 | 
													74 | 
							
					
				| fetch_template_parts() | 
									A  | 
																	44 | 
													8 | 
													48 | 
							
					
				| register_template_post_types() | 
									S  | 
																	36 | 
													1 | 
													91 | 
							
					
				| fetch_retry() | 
									S  | 
																	61 | 
													3 | 
													13 | 
							
					
				| is_template_data_inserted() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| is_pages_data_inserted() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| __construct() | 
									S  | 
																	69 | 
													1 | 
													7 | 
							
					
				| get_default_header() | 
									S  | 
																	77 | 
													1 | 
													5 | 
							
					
				| get_default_footer() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_template_locale() | 
									S  | 
																	75 | 
													1 | 
													4 |